<?php $this->load->view('header', array('data' => $data));?>
<div id="center">
	<div id="left_box">
		<div class="module"><div class="text">权限管理</div></div>
		<div class="sub_module">
		<ul class="sub_module">
		<?php foreach ($data['module'][$data['current']['module']]['sub_module'] as $v) { ?>
			<li <?php if ($v['ename'] == $data['current']['sub_module']) echo "class='current'"; ?> ><a href="<?php echo "/{$data['current']['module']}/{$v['ename']}";?>"><?php echo $v['cname'];?></a></li>
		<?php }?>
		</ul>
		</div>
		<div class="desc_box1 desc_box">
			<div class="title"></div>
			<div class="content"></div>
		</div>
		<div class="desc_box2 desc_box">
			<div class="title"></div>
			<div class="content"></div>
		</div>
	</div>
	<div id="right_box">
		<fieldset id="create_role">
			<legend>新增角色</legend>
			<form method="post" action="/priv/role_create/" id="role_create_form">
			<table>
				<tr>
					<td class="col1">角色名</td>
					<td class="col2"><input type="text" id="role" name="role" value="" size="30" /></td>
					<td class="col3"><div id="role_msg"></div></td>
				</tr>
				<tr>
					<td class="col1">备注</td>
					<td class="col2"><textarea name="remark" id="remark" cols="30" rows="5"></textarea></td>
					<td class="col3"><div id="remark_msg"></div></td>
				</tr>
				<tr>
					<td class="col1"><input type="submit" value="新增" /><input type="reset" value="清空" /></td>
					<td class="col2" colspan="2"></td>
				</tr>
			</table>
			</form>
		</fieldset>
	</div>
</div>
<?php $this->load->view('footer') ?>
